/*
 * Copyright 2022-2029 heshuixing(https://gitee.com/heshuixing)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mercury.ec.module.air.controller.admin.search.vo.tgqrule;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 退改签查询 Request VO
 *
 * @author hesx
 */
@Data
@Schema(description = "管理后台 - 退改签查询 Request VO")
public class AirSearchTgqRuleReqVO {

    @Schema(description = "渠道编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "102")
    @NotNull(message = "渠道编号不能为空")
    private Long channelId;

    @Schema(description = "航司代码", requiredMode = Schema.RequiredMode.REQUIRED, example = "CA")
    @NotBlank(message = "航司代码不能为空")
    private String airlineNo;

    @Schema(description = "舱位", requiredMode = Schema.RequiredMode.REQUIRED, example = "Y")
    @NotBlank(message = "舱位不能为空")
    private String cabin;
}
